package com.mind.xagame.message.model;
import java.util.List;
import java.util.ArrayList;
import com.mind.common.MessageCode;
import com.mind.core.net.msg.BaseMessage;
import java.util.Date;
import com.mind.core.annotation.Message;
/**创建新协议
*自动生成类
*/
@Message
public class Bbbb extends BaseMessage{
	/***/
	private Byte bbb;
	/***/
	private String nnnn;
	public Bbbb(){}
	public Bbbb(Byte bbb,String nnnn){
	  this.bbb=bbb;
	  this.nnnn=nnnn;
	}
	/**获取*/
	public Byte getBbb(){
		return this.bbb;
	}
	/**获取*/
	public String getNnnn(){
		return this.nnnn;
	}
	public boolean readImpl() {
		this.bbb=readByte();
		this.nnnn=readString();
		return true;
	}
	public boolean writeImpl() {
		writeByte(this.bbb);
		writeString(this.nnnn);
		return true;
	}
	public short getType() {
		return MessageCode.Bbbb_CODE;
	}
}
